package com.xjj.utils;


import com.xjj.pojo.User;

public class UserThreadLocal {
    static ThreadLocal<User> userThreadLocal = new ThreadLocal<>();

    public UserThreadLocal() {
    }

    public static void set(User user) {
        userThreadLocal.set(user);
    }
    private  static User  get(){
      return   userThreadLocal.get();
    }
}
